package com.erp.module.jiehao

import com.erp.pull.PullP
import com.erp.pull.PullView

/**
 * Created by Administrator on 2019/3/19/019.
 * 作者：刘洋
 */
interface JieHaoContract {
    interface JieHaoP : PullP{
        /**分配节号*/
        fun fenPeiJieHao(jieHaoKBean: String,feipei : String,isfenpei : String)
        /**传递搜索字段*/
        fun sousuo(suosuo : String)
        /**删除节号*/
        fun deleteJieHao(batch_names : String,postion : Int)
    }

    interface JieHaoView : PullView{
        /**分配节号*/
        fun fenPeiJieHaoOk(data : String)
        fun fenPeiJieHaoNo(erroe :String)
        /**分配节号访问*/
        fun fenpeijiehao()
        /**存下上传时间*/
        fun PutTime()
        /**删除成功*/
        fun deleteOk(postion : Int)
        /**删除失败*/
        fun deleteNo(error : String)
    }
}